package API

import "server/lib/Imartini"
import "server/framework/API/I"

// import "log"
// import "net/http"

var base = "api"
var route = [][]interface{}{
	{"api/test", "GET", testdoc["url"], &I.Atype{testdoc, test}, &I.Atype{V2testdoc, V2test}},
	{"api/test2", "GET", test2doc["url"], &I.Atype{test2doc, test2}},
}

func init() {
	Imartini.M.AddIroute(base, route, "api")
	// Imartini.M.AddRoute("GET", "/js/", http.FileServer(http.Dir("/var/www/js/")))
	// log.Println(Imartini.M.Iroute)
}
